#ifndef AST_STATEMENT_COMPOUND_STMT_H
#define AST_STATEMENT_COMPOUND_STMT_H

#include "../ASTNode.h"
class BlockItemList;

/*
C99   6.8.2
compound-statement:
		{   block-item-list(opt)   }
*/
class CompoundStmt : public ASTNode
{
public:
	CompoundStmt(BlockItemList *pBlkList = NULL)
		: ASTNode(ASTNode::compound_statement)
		, m_pBlkList(pBlkList){};

	virtual ~CompoundStmt(void);

	virtual void					codeGen();
protected:
	BlockItemList *					m_pBlkList ; // may be NULL
};


#endif

